import request from '@/utils/request'
/******
 获取热门城市
 *****/
export const cityHot = (data) => {
  return request({
    url: '/city/hot',
    method: 'get',
    data
  })
}
/******
 获取城市 通过上一级获取下一级
 *****/
export const cityCityId = (cityId) => {
  return request({
    url: `/city/${cityId}/districts`,
    method: 'get',
  })
}
